2000-05-02 Tor Lillqvist <tml@iki.fi>
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
+ draw too narrow or too low arcs, they seem to fail, at least with
+ some display drivers.
+
+ * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.
+
Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
2000-05-02 Tor Lillqvist <tml@iki.fi>
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
+ draw too narrow or too low arcs, they seem to fail, at least with
+ some display drivers.
+
+ * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.
+
Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
2000-05-02 Tor Lillqvist <tml@iki.fi>
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
+ draw too narrow or too low arcs, they seem to fail, at least with
+ some display drivers.
+
+ * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.
+
Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
2000-05-02 Tor Lillqvist <tml@iki.fi>
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
+ draw too narrow or too low arcs, they seem to fail, at least with
+ some display drivers.
+
+ * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.
+
Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
2000-05-02 Tor Lillqvist <tml@iki.fi>
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
+ draw too narrow or too low arcs, they seem to fail, at least with
+ some display drivers.
+
+ * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.
+
Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
2000-05-02 Tor Lillqvist <tml@iki.fi>
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
+ draw too narrow or too low arcs, they seem to fail, at least with
+ some display drivers.
+
+ * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.
+
Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
2000-05-02 Tor Lillqvist <tml@iki.fi>
+ * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_arc): Don't try to
+ draw too narrow or too low arcs, they seem to fail, at least with
+ some display drivers.
+
+ * gdk/gdk.c (gdk_init_check): Use G_DIR_SEPARATOR.
+
Large changes to the Win32 backend, partially made necessary by
the changes to the backend-independent internal
structures. Attempts to implement similar backing store stuff as
{
gchar *d;
- d = strrchr((*argv)[0],'/');
+ d = strrchr((*argv)[0], G_DIR_SEPARATOR);
if (d != NULL)
g_set_prgname (d + 1);
else
GDK_DRAWABLE_XID (drawable),
x, y, width, height, angle1, angle2));
- if (width != 0 && height != 0 && angle2 != 0)
+ /* Seems that drawing arcs with width or height <= 2 fails, at least
+ * with my TNT card.
+ */
+ if (width > 2 && height > 2 && angle2 != 0)
{
hdc = gdk_gc_predraw (drawable, gc_private,
GDK_GC_FOREGROUND|GDK_GC_BACKGROUND);